﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Secams.model
{
    /// <summary>
    /// An instance of scenario consist of a reference to the scenario, 
    /// the mode of operation (Train, transfer), and the feedbackLevel (0=no, 1=summary, 3=detail)
    /// </summary>
    public class ScenarioInstance
    {
        //public enum OpMode { TRAIN, TRANSFER};
        
        Scenario _scenario;
        int _mode;
        int _feedbackLevel = 0;
        int _delayBetweenEvents = 1; // delay in seconds

        public ScenarioInstance(Scenario scenario, int mode, int feedbackLevel, int delayBetweenEvents)
        {
            this.scenario = scenario;
            this.mode = mode;
            this.feedbackLevel = feedbackLevel;
            this.delayBetweenEvents = delayBetweenEvents;
        }

        public Scenario scenario
        {
            get { return _scenario; }
            set { _scenario = value; }
        }

        public int mode
        {
            get { return _mode; }
            set { _mode = value; }
        }

        public int feedbackLevel
        {
            get { return _feedbackLevel; }
            set { _feedbackLevel = value; }
        }

        public int delayBetweenEvents
        {
            get { return _delayBetweenEvents; }
            set { _delayBetweenEvents = value; }
        }
    }
}
